package com.swak.frame.store;

import java.util.List;

import com.google.common.base.Supplier;

public interface StoreEngine {

    public boolean insert(StoreTable table, String item);

    public boolean isExist(StoreTable table, String item);

    public long count(StoreTable table);

    public <T> List<T> query(StoreTable table, Class<T> clazz, Supplier<List<T>> supplier);
}
